<template>
  <div class="loading">
    <img src="./loading.gif" alt="">
    <p class="desc">{{title}}</p>
  </div>
</template>

<script>
export default {
	props: {
		title: {
			type: String,
			default: '正在载入...'
		}
	}
}
</script>

<style scoped lang="scss">
@import "@/assets/css/mixin.scss";
.loading {
  width: 100%;
	margin-left: 0;
	text-align: center;
}
.loading img {
	display: inline-block;
	width: 25px;
	height: 25px;
	margin: 0 auto;
}
.loading .desc {
	line-height: 20px;
	font-size: 16px;
	font-size: rem(15);
  color: #fff;
  margin-top: rem(5);
}
</style>
